package cn.wolfcode.web.service;

import cn.wolfcode.web.domain.Employee;
import cn.wolfcode.web.page.PageResult;
import cn.wolfcode.web.query.EmployeeQueryObject;

import java.util.List;

public interface IEmployeeService {
    void delete(Long id);

    void  save(Employee employee);

    Employee get(Long id);

    List<Employee> listAll();

    void update(Employee employee);
    PageResult query(EmployeeQueryObject qo);

    void insertRelation(Long id, Long roleId);
}